aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForStructFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 8459b4c58a8643a80989a655c65a0590d63e16b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Compilation unit elements:


Locals:
 * (val "tmp__id__0" int)
 * (val "structValuePointer__0" data-ptr)

Instructions:

(
    (int-to-data-ptr (local "structValuePointer__0") (local "b"))
    (
        memory-load
        (local "tmp__id__0")
        pointer=(local "structValuePointer__0")
        layout=(struct (data-ptr (struct (int (struct (int int int))))))
        offset=(1 1 1)
    )
)

Temporary stack:
 * PatioLocalRef[name=tmp__id__0]
 * PatioLocalRef[name=a]